package cn.myweixin.mapper;

import cn.myweixin.po.SignExample;
import cn.myweixin.po.SignKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SignMapper {
    int countByExample(SignExample example);

    int deleteByExample(SignExample example);

    int deleteByPrimaryKey(SignKey key);

    int insert(SignKey record);

    int insertSelective(SignKey record);

    List<SignKey> selectByExample(SignExample example);
    
    List<Integer> selectNoticeid(String traineeId);//根据学员id查找培训期号
    
    List<SignKey> selectTrainee(Integer noticeid);//根据培训期号查找学员id和姓名

    int updateByExampleSelective(@Param("record") SignKey record, @Param("example") SignExample example);

    int updateByExample(@Param("record") SignKey record, @Param("example") SignExample example);
}